package com.bw.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class JobAddParam {
    @NotBlank(message = "名称不为空")
    private String name;
    @NotBlank(message = "编号不为空")
    private String num;
    @NotNull(message = "职位不为空")
    private Integer postId;
    @NotNull(message = "部门不为空")
    private Integer deptId;
    @NotNull(message = "院校不为空")
    private Integer schoolId;

    @NotBlank(message = "开始时间不为空")
    private String startTime;
    @NotBlank(message = "结束时间不为空")
    private String endTime;
}
